package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ProductDir;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductDirMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductDir record);

    ProductDir selectByPrimaryKey(Long id);

    List<ProductDir> selectAll();

    int updateByPrimaryKey(ProductDir record);

    List<ProductDir> selectForList(QueryObject qo);

    List<ProductDir> listByParentId(@Param("parentId") Long parentId);

    List<ProductDir> listParentAll();
}